Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Simple Polygons


Q3Polygon_SetVertexPosition

You can use the Q3Polygon_SetVertexPosition function to set the position of a vertex of a simple polygon.

TQ3Status Q3Polygon_SetVertexPosition (
TQ3GeometryObject polygon, 
unsigned long index, 
const TQ3Point3D *point);
polygon
A simple polygon.
index
An index into the vertices array of the specified simple polygon.
point
The desired position of the specified vertex.
DESCRIPTION
The Q3Polygon_SetVertexPosition function sets the position of the vertex having the index specified by the index parameter in the vertices array of the simple polygon specified by the polygon parameter to that specified in the point parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996